package lt.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import lt.web.pojo.AppInfo;

import java.util.List;

public interface AppInfoService extends IService<AppInfo> {
    Integer getAppInfoCount(String softwarename, Integer status, Integer categoryLevel1, Integer categoryLevel2, Integer categoryLevel3, Integer flatFormId, Object o);

    List<AppInfo> selectAllByCondation(String softwarename, Integer status, Integer categoryLevel1, Integer categoryLevel2, Integer categoryLevel3, Integer devId, Integer flatFormId, Integer pageIndex, Integer pageSize);

    AppInfo getAppInfo(Integer id, String apkName);

    boolean add(AppInfo appInfo);

    AppInfo getAppInfoById(Integer id);

    int updateApp(AppInfo appInfo);

    Integer deleteAppInfById(Integer id);

    boolean appsysUpdateSaleStatusByAppId(AppInfo appInfo);

    int updateAppInfoStatus(Integer status, Integer id);
}
